
/**
 * @Author quan
 * @Description 演示使用IcO的思想创建Car
 * @Date 2023/7/12 11:35
 */

public class Demo1_IcO_Car {
    public static void main(String[] args) {
        Tire tire = new Tire(20);
        Bottom bottom = new Bottom(tire);
        Framework framework = new Framework(bottom);
        Car car = new Car(framework);
        car.init();
    }
}
